package org.cl.log.sysService;

import org.cl.log.mybatis.client.LogMapper;
import org.cl.log.mybatis.domain.Log;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class LogService {

	@Autowired
	private LogMapper logMapper;
	
	@Transactional
	public int addLog(Log log){
		return logMapper.insert(log);
	}
	
}
